#ifndef SERVER_START_H_
#define SERVER_START_H_

#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <gtk/gtk.h>

#define MAXBUF		1024
void *display_window(GtkWidget *window);

typedef struct address{
	int port;
	char *ip;
}Address;

typedef struct userinfo{
	int id;
	char *name;
	int imageId;
	Address *addre;
}UserInfo;

typedef struct user{
	UserInfo self;
	int friendcount;
	UserInfo *friends;
}User;

#endif
